<table class="table">
  <thead>
    <tr>
      <th class="first"><%= sort_link @search, :presentation, "#{t 'helpers.label.categorygroup.presentation'}" %></th>
      <th class="last"></th>
    </tr>
  </thead>
  <tfoot>
    <tr>
      <th></th>
    </tr>
  </tfoot>
  <tbody>
    <% unless category_groups.blank? %>
      <%= render :partial => "category_group", :collection => category_groups %>
    <% else %>
    <tr>
      <th colspan="10">Nebyly nalezeny žádné skupiny kategorií.</th>
    </tr>
    <% end %>
  </tbody>
</table>